package vectors;

import java.io.Serializable;

public class LinkedListVectorElement implements Cloneable, Serializable {
	private static final long serialVersionUID = -7001469952462724426L;
	private double value;
	private LinkedListVectorElement next;
	private LinkedListVectorElement previous;

	public LinkedListVectorElement(double value) {
		this.value = value;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

	public LinkedListVectorElement getNext() {
		return next;
	}

	public void setNext(LinkedListVectorElement n) {
		next = n;
	}

	public LinkedListVectorElement getPrevious() {
		return previous;
	}

	public void setPrevious(LinkedListVectorElement p) {
		previous = p;
	}
}
